package com.mall.common.validation.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.mall.common.enums.FieldType;

/**
 * 特殊正则验证
 * @author fangchen
 *
 */
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface SpecialRegexFieldValidator {
	
	String message() default "";

	String fieldName();

	FieldType fieldType();
	
	boolean isNullable() default true; 
}
